package cn.hfatec.constants;

/**
 * 
 * 系统常量
 * 
 * @author panwb
 *
 */
public class SysContant {

    final public static String ABSOLUTE_CONTEXT_PATH = "absoluteContextPath";
    public static final String LOGIN_USER_SESSION = "loginUser";
	/* 分页：默认页码大小 */
	public static Integer DEFAULT_PAGE_SIZE = 10;
	/* 分页：默认起始页 */
	public static Integer DEFAULT_CURRENT_SIZE = 1;
	/*分页：参数分隔符*/
	public static String PARAMS_SPLIT_TOKEN = ",";
	/*分页：参数值分隔符*/
	public static String PARAMS_VALUE_SPLIT_TOKEN = "=";
    /*正常响应代码值*/
    public static String SUCCESS = "0";
    /* 错误响应代码值 */
    public static String ERROR = "-1";
    /* 增删改默认提示信息 */
    public static String SUCCESS_MESSAGE = "操作成功！";
    public static String ERROR_MESSAGE = "操作失败！";
    public static String SAVE_SUCCESS_MESSAGE = "保存数据成功！";
    public static String DELETE_SUCCESS_MESSAGE = "删除数据成功！";
    public static String SAVE_ERROR_MESSAGE = "保存数据失败！";
    public static String DELETE_ERROR_MESSAGE = "删除数据失败！";

}
